package com.cgt.xiaotao.order.domain.vo;

import com.cgt.xiaotao.product.client.domain.vo.ProductVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class OrderVO {
    private String orderNo;
    private Long userId;
    private BigDecimal totalAmount;
    private Byte status;    //订单状态:0待付款 1待发货 2待收货 3已完成 4已取消
    private String address;
    private String createTime;
    private List<ProductVO> productList;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private List<Long> couponIds;
}
